/*
 * manageApi  模块api
 * */
let pieAuth = piecloud ? piecloud : "";

export default {
     downloadFilePath: downloadFilePath,
     getEnterTree: pieAuth + "/dev/account/api/enterprise/getEnterTree",
     updateUser: pieAuth + '/dev/account/api/sys/user/updateUser/',
     resetUser: pieAuth + '/dev/account/api/sys/user/resetPwd/',//重置密码
     organizationUpdate: pieAuth + "/dev/account/api/organization/update",
     add: pieAuth + "/dev/account/api/organization",
     getDetail: pieAuth + "/dev/account/api/organization",
     getZuzhiData: pieAuth + "/dev/account/api/enterprise/",//获取组织信息
     updateZuzhi: pieAuth + "/dev/account/api/enterprise/update/",//更新组织信息
     deleteUser: pieAuth + "/dev/account/api/sys/user/delete",
     getAll: pieAuth + "/sthx_server/system/sysVersion/getAll",
     create: pieAuth + "/sthx_server/system/sysVersion/create",
     update: pieAuth + "/sthx_server/system/sysVersion/update",
     delete: pieAuth + "/sthx_server/system/sysVersion/delete",
     queryAllUser: pieAuth + '/dev/account/api/sys/user/queryAllUser',
     getUsersRole: pieAuth + '/dev/account/api/sys/role/getUsersRole',
     createUser: pieAuth + '/dev/account/api/sys/user/createUser',
     ban: pieAuth + '/dev/account/api/sys/user/lockUser',
     createUserRole: pieAuth + '/dev/account/api/sys/role/bindUserRole',
     getTree: pieAuth + "/dev/account/api/organization",
     deleteTree: pieAuth + "/dev/account/api/organization/delete",
     enterpriseUpdate: pieAuth + "/dev/account/api/enterprise/update",
     enterprise: pieAuth + "/dev/account/api/enterprise", // getAll: pieAuth + "/dev/account/api/enterprise",
     getAllTaskType: pieAuth + "/sthx_server/task/taskType/getAllTaskType",
     taskTypeFlowBind: pieAuth + "/sthx_server/task/taskType/taskTypeFlowBind",
     deleteTaskType: pieAuth + "/sthx_server/task/taskType/",
     taskTypeCreate: pieAuth + "/sthx_server/task/taskType/create", //create: pieAuth + "/sthx_server/task/taskType/create",
     updateTaskType: pieAuth + "/sthx_server/task/taskType/update/",
     getRoleProductLine: pieAuth + "/sthx_server/task/taskType/v1/getRoleProductLine",
     // path: pieAuth + "/sthx_server/system/sateLliteModel", //增删改查
     getRole: pieAuth + '/dev/account/api/sys/role/getRoleList',
     updateRole: pieAuth + '/dev/account/api/sys/role/updateRole', // update: pieAuth + '/dev/account/api/sys/role/updateRole',
     createRole: pieAuth + '/dev/account/api/sys/role/createRole', // create: pieAuth + '/dev/account/api/sys/role/createRole',
     getRolePermission: pieAuth + "/dev/account/api/roleFunc/permission/getRolePermission",
     resGetTree: pieAuth + "/dev/account/api/sys/res/getTree", //     getTree: pieAuth + "/dev/account/api/sys/res/getTree",
     binding: pieAuth + "/dev/account/api/roleFunc/permission/binding",
     createBind: pieAuth + "/sthx_server/system/productLine/api/v1/createBind",
     deleteRole: pieAuth + '/dev/account/api/sys/role/deleteRole', //delete: pieAuth + '/dev/account/api/sys/role/deleteRole',
     saveCatalog: pieAuth + '/catalog/api/sys/roleCatalog/saveCatalog',
     systemGetRoleProductLine: pieAuth + "/sthx_server/system/productLine/api/v1/getRoleProductLine",
     getHomeIcon: pieAuth + "/sthx_server/system/homeIcon/getHomeIcon",
     homeIconDelete: pieAuth + "/sthx_server/system/homeIcon/",
     homeIconUpdate: pieAuth + "/sthx_server/system/homeIcon/update",
     homeIconUpload: pieAuth + "/sthx_server/system/homeIcon/upload",
     getAllControlImage: pieAuth + "/sthx_server/task/controlImage/getAllControlImage",
     updateName: pieAuth + "/sthx_server/task/controlImage/update/", //修改节点名称
     controlImageDelete: pieAuth + "/sthx_server/task/controlImage/",
     controlImageCreate: pieAuth + "/sthx_server/task/controlImage/create",
     getRoot: pieAuth + "/sthx_server/task/controlImage/getRoot",
     getByparentId: pieAuth + "/dev/account/api/sys/res/getList",
     resDelete: pieAuth + "/dev/account/api/sys/res/delete",
     getDeatil: pieAuth + "/dev/account/api/sys/res/getDetail",
     resCreate: pieAuth + "/dev/account/api/sys/res/create",
     resUpdate: pieAuth + "/dev/account/api/sys/res/update",
     getAllTree: pieAuth + "/dev/account/api/sys/res/getAllTree",
     moduleDelete: pieAuth + "/dev/account/api/module",
     moduleGetById: pieAuth + "/dev/account/api/module",
     moduleCreate: pieAuth + "/dev/account/api/module/",
     moduleUpdate: pieAuth + "/dev/account/api/module/update",
     getBySystemId: pieAuth + "/dev/account/api/module/getBySystemId",
     getByParentId: pieAuth + "/dev/account/api/module/getByParentId",
     organizationGetByParentId: pieAuth + "/dev/account/api/organization/getByParentId",
     getDictByParentId: pieAuth + '/sthx_server/system/dict/api/getDictByParentId', //根据父节点查询
     deleteById: pieAuth + '/sthx_server/system/dict/api/deleteById', //删除
     apiCreate: pieAuth + '/sthx_server/system/dict/api/create', //新增
     updateDictCodeById: pieAuth + '/sthx_server/system/dict/api/updateDictCodeById',
     getDictCodeTree: pieAuth + '/sthx_server/system/dict/api/getDictCodeTree',
     query: pieAuth + "/sthx_server/task/flowProperty/api/query",
     getParam: pieAuth + "/sthx_server/task/autoFlowParameters/search",
     getAllChildByDictCode: pieAuth + '/sthx_server/system/dict/api/getAllChildByDictCode',
     queryRelated: pieAuth + "/tool/satellitesensor/queryRelated", //查找卫星传感器关联信息
     flowPropertyCreate: pieAuth + "/sthx_server/task/flowProperty/api/create",
     search: pieAuth + '/coordinator/metadata/workflow/search',
     flowPropertyUpdate: pieAuth + "/sthx_server/task/flowProperty/api/update",
     flowPropertyDelete: pieAuth + "/sthx_server/task/flowProperty/api/delete",

     // 历史文件记录
     fileManageAdd: pieAuth + "/sthx_server/system/auto/fileManage/add",
     fileManageQuery: pieAuth + "/sthx_server/system/auto/fileManage/query",
     fileManageUpdate: pieAuth + "/sthx_server/system/auto/fileManage/update/",
     fileManageDelete: pieAuth + "/sthx_server/system/auto/fileManage/delete/",
     fileManageQueryLog: pieAuth + "/sthx_server/system/auto/fileManage/queryLog",
     fileManageUpdateStatus: pieAuth + "/sthx_server/system/auto/fileManage/updateStatus/",
     fileManageDeleteLog: pieAuth + "/sthx_server/system/auto/fileManage/deleteLog",
     getByDictCode: pieAuth + '/sthx_server/system/dict/api/getByDictCode/',

     /**卫星影像模型管理 */
     addSatelliteModel: pieAuth + '/tool/satellitemodel/insert',
     // getSatelliteModel: pieAuth + '/tool/satellitemodel/query',
     
     // 查询表格数据
     getModelList: pieAuth + '/tool/satellitemodel/query',
     //获取卫星模型分类树
     getSatelliteModel: pieAuth + '/tool/satellitemodelclassify/queryClassifyTree',
     deleteSatelliteModel: pieAuth + '/tool/satellitemodel/delete/',
     updateSatelliteModel: pieAuth + '/tool/satellitemodel/update',
     //分类底图管理
     getBaseMapByPId: pieAuth + '/tool/imageLayer/imageLayerListByCondition',//查询列表
     addImageLayer:pieAuth+'/tool/imageLayer/addImageLayer',//添加列表
     updateImageLayer:pieAuth+'/tool/imageLayer/updateImageLayer/',//更新列表
     deleteByIdList:pieAuth + '/tool/imageLayer/deleteLayerById/',//删除列表通过id
     getClassifyRoot: pieAuth+ '/tool/imageClassify/imageClassifyList',
     //添加底图分类左侧
     addClassifyBaseMap:pieAuth + '/tool/imageClassify/addImageClassify',
     editClassifyBaseMap:pieAuth + '/tool/imageClassify/updateImageClassify/',//编辑目录
     imageClassifyListByID:pieAuth + '/tool/imageClassify/imageClassifyListByID/',//通过id获取值
     deleteImageClassifyById:pieAuth +  '/tool/imageClassify/deleteImageClassifyById/',//删除目录

     addTreeNode: pieAuth + '/tool/satellitemodelclassify/insert',//添加子级节点
     deleteTreeNode: pieAuth + '/tool/satellitemodelclassify/delete/',//删除树节点
     updateTreeNode: pieAuth + '/tool/satellitemodelclassify/update',//编辑树节点
     modelSort: pieAuth + '/tool/satellitemodelclassify/sort', //卫星模型排序(树)
     //日志管理
     queryLog: pieAuth + '/sthx_server/task/operation/log/queryAll', //日志管理(查询)
     delLog: pieAuth + '/sthx_server/task/operation/log/delete/', //日志管理(删除)
     queryId: pieAuth + '/sthx_server/task/operation/log/query/', //根据ID查询
     saveLog: pieAuth + '/sthx_server/task/operation/log/save'//记录日志
     
};